package com.evildog.workspace.life.application.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * Photo request body
 * </p>
 *
 * @author evildog
 * @since 2020-08-02
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "Photo查询参数/request body")
public class PhotoParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "相册id")
    @NotBlank(message = "相册id不能为空")
    private Long albumId;

    @ApiModelProperty(value = "地址")
    @NotEmpty(message = "地址数组不能为空")
    private List<String> urls;


}
